#ifndef __FUNC__
#define __FUNC__
#include "stm32f10x.h"
#include "core_cm3.h"

 
#define SOFT_DELAY       Delay(0x0FFFFF); 
#define SOFT_DELAYx      Delay(0xFFFFFF); 
#define SOFT_DELAYy      Delay(0x0000FF); 

extern void Delay(__IO uint32_t nCount);

extern void __disableAllNvic();
extern void __enableAllNvic();
  void NVIC_DisableIRQ_user(IRQn_Type IRQn);
  void NVIC_EnableIRQ_user(IRQn_Type IRQn);
extern void stmDelay(uint32_t time);
#endif
